package com.yl.auth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author W
 * @since 2023-07-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "床位更换审批类")
public class Chuangweigenghuanshenpi implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableField("id")
    @TableId(value = "id",type = IdType.AUTO)
      private Integer id;

    /**
     * 当前时间
     */
    @ApiModelProperty(value = "当前时间")
    private LocalDateTime createTime;

    /**
     * 合同地址
     */
    @ApiModelProperty(value = "合同地址")
    private String hetong;

    /**
     * 拒绝原因
     */
    @ApiModelProperty("拒绝原因")
    private String yuanyin;

    /**
     * 员工外键
     */
    @ApiModelProperty(value = "员工外键")
    private Integer yId;

    /**
     * 审批人姓名
     */
    @ApiModelProperty(value = "审批人姓名")
    private String name;

    /**
     *  老人外键
     */
    @TableField("laoren_id")
    @ApiModelProperty(value = "老人外键")
    private Integer laorenId;

    @TableField(exist = false)
    private String xname;
    @TableField(exist = false)
    private String cname;
    @TableField(exist = false)
    private String yname;

}
